package com.jack.payment.rabbitmq.constant;

public class RabbitmqConstant {
    /**
     * 交换机
     */
    // 专用于处理订单 交换机
    public final static String EXCHANGE_MESSAGE = "jack.payment.exchange.message";
    // 公共交换机
    public final static String EXCHANGE_COMMON = "jack.payment.exchange.common";
    // 延迟交换机
    public final static String EXCHANGE_DELAYED = "jack.payment.exchange.delayed";

    /**
     * 队列
     */
    // 支付日志
    public final static String QUEUE_PAYMENT_LOGGER = "jack.payment.queue.log";
    // 延迟队列
    public final static String QUEUE_PAYMENT_DELAY = "jack.payment.queue.delay";
    // 支付模块普通队列
    public final static String QUEUE_PAYMENT_COMMON = "jack.payment.queue.common";
    // 退款队列
    public final static String QUEUE_PAYMENT_REFUND = "jack.payment.queue.refund";
    // 登录后耗时操作 如 设备记录  和 优惠卷下发
    public final static String QUEUE_LOGIN = "jack.payment.queue.login";



    /**
     * 路由模糊匹配
     */
    // 系统
    public final static String ROUTING_LOGGER = "jack.payment.sys.log.#";
    // 退款
    public static final String ROUTING_REFUND = "jack.payment.refund.#";
    // 支付成功
    public static final String ROUTING_PAYMENT_CALL = "jack.payment.call.#";
    // 延迟回调
    public final static String ROUTING_DELAY_PAYMENT = "jack.payment.delay.#";
    // 登录后耗时操作 如 设备记录  和 优惠卷下发
    public final static String ROUTING_LOGIN = "jack.payment.login.#";

    /**
     * 详细的路由键值对
     */
    // 系统日志
    public final static String SYSTEM_LOGGER = "jack.payment.sys.log.normal";
    // 支付成功回调地址
    public final static String PAYMENT_CALLBACK = "jack.payment.call.callback";
    // 退款信息
    public final static String PAYMENT_REFUND_INFO = "jack.payment.refund.info";
    // 支付延迟回调
    public final static String DELAY_PAYMENT_CALLBACK = "jack.payment.delay.callback";
    // 登录后耗时操作 如 设备记录  和 优惠卷下发
    public final static String LOGIN_VALUE = "jack.payment.login.success";
}
